package edu.gdkm.demo;

public class Demo14 {
    //1+2+3+4+5+...+99+100=?
    public static void main(String[] args) {
        int x=1;
        for(int i=2;i<=100;i++){
            x=x+i;
        }
        System.out.println(x);
    }
}
